select,.ui-datepicker {
    width:auto !important;
}

#custom_widget {
    margin:10px;
}

.ui-datepicker .ui-datepicker-header {
    padding:0.2em;
}

.bootstrap-select:not([class*="span"]) {
    /*width:100% !important;*/
    margin-bottom:0px;
}

.ui-datepicker-header .bootstrap-select {
    width:100%;
}